package com.ztp.lib.files;

public interface DisplayableExplorer {
	public DisplayableFile getDisplayableFile(int index);
	public int getSize();
	public boolean setDirectory(int index) throws Exception;
	public boolean tryToChangeDirectory(String path) throws Exception;
	public String getCurrentDirName();
	public String getCurrentDirAbsPath();
	
	
	public void addDirectoryChangeListener(DirectoryChangeListener dcl);
	public void removeDirectoryChangeListener(DirectoryChangeListener dcl);
	
	public void getFile(int index, DisplayableExplorer explorer);
	public DisplayableFile [] getRoots();//-
	public String [] getRootsPath();
	
	public boolean setUpDirectory();
	public void changeRoot(DisplayableFile root);//-
	public void changeRoot(String rootPath);
	
}
